﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Header.ascx.cs" Inherits="UserControls_Header" %>
<%@ OutputCache Duration="120" VaryByParam="None" %>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="6" height="131">
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="780" height="131">
				<param name="movie" value='<%=ImageUrl %>'>
				<param name="quality" value="high">
				<embed src="~/Images/top(2.0).swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="131"></embed>
			</object>
		</td>
	</tr>
	<tr>
		<td height="30" valign="middle" background='<%= BackGroundImage %>'>
			&nbsp;&nbsp;<asp:DataList ID="CatalogList" Width="100%" runat="server" RepeatDirection="Horizontal" HorizontalAlign="Center" RepeatColumns="10" RepeatLayout="Flow"
			 CellSpacing="10" CellPadding="10" CaptionAlign="Bottom">
				<ItemTemplate>
					<a href='<%# FormatCatalogUrl((int)Eval("UrlID"),Eval("Url").ToString(),(int)Eval("ID")) %>' class="colnmn2"><%# Eval("Name") %></a>&nbsp;&nbsp;<font class="colnmn2">|</font>&nbsp;&nbsp;
					</ItemTemplate>
				<EditItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
				<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
				<SelectedItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
				<AlternatingItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
				<SeparatorStyle VerticalAlign="Middle" />
				<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
			</asp:DataList>
		</td>
	</tr>
  </table>